package com.gonsin.gnews.annotations.exceptions;


public class GNewsException extends RuntimeException{

    private String message;

    public GNewsException(String message, Object ... args) {
        this.message = String.format(message, args);
    }

    @Override
    public String getMessage() {
        return message;
    }

}
